package com.cuit.zuke.system.feign;

import com.cuit.zuke.common.util.Result;
import com.cuit.zuke.common.vo.WeeklyDataVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;

/**
 * @program: zuke
 * @description: 远程调用用户接口
 * @author: KamTang
 * @create: 2022-06-03 22:27
 **/
@FeignClient("zuke-consumer")
public interface ConsumerServiceFeign {

    /**
     * 获取近一周用户注册情况
     * @return DailyUserDataVo
     */
    @GetMapping("/consumer/user/getWeeklyAdminLoginAndUserRegData")
    Result getWeeklyUserRegData();

}
